package com.example.simple.simple

import com.xxf.basemvp.weakbase.weak.WeakPresenter


/**
 * TODO:
 * @author XXF
 * Create Time : 2018/5/4
 */
interface LoginContract {

    interface View {
        fun loginSuc()

        fun loginFail(error: Int)
    }

    abstract class Presenter<V : View>(view: V) : WeakPresenter<V>(view) {
        abstract fun doLogin()

    }
}